Class RenderHelper

java.lang.Object
jeresources.util.RenderHelper

public class RenderHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    drawLine(com.mojang.blaze3d.vertex.PoseStack poseStack, int xBegin, int yBegin, int xEnd, int yEnd, int color)
     
    static void
    drawTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int u, int v, int width, int height, net.minecraft.resources.ResourceLocation resource)
     
    static double[]
    getGLTranslation(com.mojang.blaze3d.vertex.PoseStack poseStack, double scale)
     
    static double
     
    static void
    renderBlock(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.world.level.block.state.BlockState block, float x, float y, float z, float rotate, float scale)
     
    static void
    renderChest(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float rotate, float scale, float lidAngle)
     
    static void
    renderEntity(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, double scale, double yaw, double pitch, net.minecraft.world.entity.LivingEntity livingEntity)
     
    static void
    scissor(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int w, int h)
     
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RenderHelper

      public RenderHelper()
  • Method Details

    • drawLine

      public static void drawLine(com.mojang.blaze3d.vertex.PoseStack poseStack, int xBegin, int yBegin, int xEnd, int yEnd, int color)
    • renderEntity

      public static void renderEntity(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, double scale, double yaw, double pitch, net.minecraft.world.entity.LivingEntity livingEntity)
    • renderChest

      public static void renderChest(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float rotate, float scale, float lidAngle)
    • renderBlock

      public static void renderBlock(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.world.level.block.state.BlockState block, float x, float y, float z, float rotate, float scale)
    • scissor

      public static void scissor(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int w, int h)
    • stopScissor

      public static void stopScissor()
    • drawTexture

      public static void drawTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int u, int v, int width, int height, net.minecraft.resources.ResourceLocation resource)
    • getGLTranslation

      public static double[] getGLTranslation(com.mojang.blaze3d.vertex.PoseStack poseStack, double scale)
    • getGuiScaleFactor

      public static double getGuiScaleFactor()